package com.tistory.left.controller;

import java.sql.SQLException;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import oracle.jdbc.util.Login;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.servlet.ModelAndView;

import com.tistory.admin.adminmgr.auth.model.AdminAuthSession;
import com.tistory.admin.adminmgr.auth.model.AdminMember;
import com.tistory.admin.adminmgr.auth.model.LoginUserInfo;
import com.tistory.admin.adminmgr.auth.model.MemberConstants;
import com.tistory.admin.common.Constants;
import com.tistory.admin.common.DisappointController;
import com.tistory.admin.common.SessionManager;
import com.tistory.commons.utils.SessionUtil;
import com.tistory.login.service.LoginService;

@Controller
public class LeftController {
	
	private static final Logger log = LoggerFactory.getLogger(LeftController.class);
	
	@Autowired
	private LoginService loginService;
	
	/*public void setHelloService(HelloService helloService) {
		this.helloService = helloService;
	}*/
	
	@RequestMapping(value="main/topMenu.do")
	public ModelAndView topMenu() throws SQLException{
		ModelAndView modelAndView = new ModelAndView();
		modelAndView.setViewName("common/topMenu");
		return modelAndView;
	}	
	
	@RequestMapping(value="left/leftMenu.do")
	public ModelAndView leftMenu() throws SQLException{
		ModelAndView modelAndView = new ModelAndView();
		modelAndView.setViewName("left/leftMenu");
		return modelAndView;
	}	
	
	@RequestMapping(value="left/leftDefault.do")
	public ModelAndView leftDefault() throws SQLException{
		ModelAndView modelAndView = new ModelAndView();
		modelAndView.setViewName("left/leftDefault");
		return modelAndView;
	}		
	
	@RequestMapping(value="left/leftMenuChannel.do")
	public ModelAndView leftMenuChannel() throws SQLException{
		ModelAndView modelAndView = new ModelAndView();
		modelAndView.setViewName("left/leftMenuChannel");
		return modelAndView;
	}	
	
	@RequestMapping(value="left/leftMenuRisk.do")
	public ModelAndView leftMenuRisk() throws SQLException{
		ModelAndView modelAndView = new ModelAndView();
		modelAndView.setViewName("left/leftMenuRisk");
		return modelAndView;
	}		
	
	@RequestMapping(value="left/leftMenuMember.do")
	public ModelAndView leftMenuMember() throws SQLException{
		ModelAndView modelAndView = new ModelAndView();
		modelAndView.setViewName("left/leftMenuMember");
		return modelAndView;
	}			
	
	@RequestMapping(value="left/leftMenuRight.do")
	public ModelAndView leftMenuRight() throws SQLException{
		ModelAndView modelAndView = new ModelAndView();
		modelAndView.setViewName("left/leftMenuRight");
		return modelAndView;
	}			
}
